package com.bajiao.service.reserve;

import com.bajiao.entity.reserve.Reserve;
import com.bajiao.vo.reserve.ReserveResponse;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 订座表
 * @Author: FanJq
 * @Date:   2025-01-13
 * @Version: V1.0
 */
public interface ReserveService extends IService<Reserve> {

    /**
     * @Description
     * 创建预定
     * @date 2025/1/13 10:05
     * @author FanJq
     * @param userId
     * @param storeId
     * @return
    */
    void create(String userId, String storeId);

    /**
     * @Description
     * 获取当天预定单
     * @date 2025/1/13 10:09
     * @author FanJq
     * @param userId
     * @param storeId
     * @return {@link Reserve}
    */
    Reserve getToday(String userId, String storeId);

    /**
     * @Description
     * 获取店铺预订列表
     * @date 2025/1/13 10:39
     * @author FanJq
     * @param storeId
     * @return {@link List< ReserveResponse>}
    */
    List<ReserveResponse> getReserveList(String storeId, String filterDate);
}
